package com.guage.producter.mapper;

import com.guage.producter.domain.SampleTable;
import com.guage.producter.domain.SampleTableExample;
import com.pad.dpscn.daag.sdk.core.annotation.DataMapperIntercept;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
@DataMapperIntercept(pk = {
		@DataMapperIntercept.PrimaryKeyField(propertyName = "id", columnName = "ID") }, tableName = "SAMPLE_TABLE", operation = {
				DataMapperIntercept.Operation.INSERT, DataMapperIntercept.Operation.UPDATE,
				DataMapperIntercept.Operation.DELETE })
public interface SampleTableMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table SAMPLE_TABLE
     *
     * @mbg.generated Thu Mar 21 10:43:04 CST 2024
     */
    long countByExample(SampleTableExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table SAMPLE_TABLE
     *
     * @mbg.generated Thu Mar 21 10:43:04 CST 2024
     */
    int deleteByExample(SampleTableExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table SAMPLE_TABLE
     *
     * @mbg.generated Thu Mar 21 10:43:04 CST 2024
     */
    int deleteByPrimaryKey(Short id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table SAMPLE_TABLE
     *
     * @mbg.generated Thu Mar 21 10:43:04 CST 2024
     */
    int insert(SampleTable record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table SAMPLE_TABLE
     *
     * @mbg.generated Thu Mar 21 10:43:04 CST 2024
     */
    int insertSelective(SampleTable record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table SAMPLE_TABLE
     *
     * @mbg.generated Thu Mar 21 10:43:04 CST 2024
     */
    List<SampleTable> selectByExampleWithBLOBs(SampleTableExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table SAMPLE_TABLE
     *
     * @mbg.generated Thu Mar 21 10:43:04 CST 2024
     */
    List<SampleTable> selectByExample(SampleTableExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table SAMPLE_TABLE
     *
     * @mbg.generated Thu Mar 21 10:43:04 CST 2024
     */
    SampleTable selectByPrimaryKey(Short id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table SAMPLE_TABLE
     *
     * @mbg.generated Thu Mar 21 10:43:04 CST 2024
     */
    int updateByExampleSelective(@Param("record") SampleTable record, @Param("example") SampleTableExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table SAMPLE_TABLE
     *
     * @mbg.generated Thu Mar 21 10:43:04 CST 2024
     */
    int updateByExampleWithBLOBs(@Param("record") SampleTable record, @Param("example") SampleTableExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table SAMPLE_TABLE
     *
     * @mbg.generated Thu Mar 21 10:43:04 CST 2024
     */
    int updateByExample(@Param("record") SampleTable record, @Param("example") SampleTableExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table SAMPLE_TABLE
     *
     * @mbg.generated Thu Mar 21 10:43:04 CST 2024
     */
    int updateByPrimaryKeySelective(SampleTable record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table SAMPLE_TABLE
     *
     * @mbg.generated Thu Mar 21 10:43:04 CST 2024
     */
    int updateByPrimaryKeyWithBLOBs(SampleTable record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table SAMPLE_TABLE
     *
     * @mbg.generated Thu Mar 21 10:43:04 CST 2024
     */
    int updateByPrimaryKey(SampleTable record);
    
	boolean updateSampleTableByMultipleConditions(SampleTable entity);

}